﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// <summary>
/// This object represents the properties and methods of a UserActivity.
/// </summary>
namespace YouHP.Model
{
    public class UserActivityInfo : IHydratable
    {
        public int Id { get; set; }
        public int ActivityId { get; set; }
        public string ActivityTitle { get; set; }   //活动主题
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string Message { get; set; }
        public string Connactinfo { get; set; }
        public int IsVerify { get; set; }
        public string Status { get; set; }  //与IsVerify的值对应
        public string Operation { get; set; }   //操作名称
        public string OptLinkUrl { get; set; }  //操作对应的url
        public DateTime ApplyDate { get; set; }
        public string Reply { get; set; }
        public DateTime ReplyDate { get; set; }

        public UserActivityInfo()
        {
            IsVerify = ActivityId = UserId = -1;
            UserName = Message = Connactinfo = Status = Operation = OptLinkUrl = Reply = "";
        }

        #region IHydratable
        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }
        #endregion
    }
}
